package com.example.yue.appclent.client.bean;
import java.io.Serializable;


public class ClientMessBean implements Serializable{

    private static final long serialVersionUID = 1L;

    public static long getSerialversionuid() {
        return serialVersionUID;
    }
    /**
     * 时间
     */
    private long time;

    /**
     * 发信人名称。。。必要时，增加马甲设置
     */
    private String name;

    /**
     * ip地址
     */
    private String host;

    /**
     * 正文消息
     */
    private String mess;
    /**
     * 消息标识
     */
    private int messFlag;
    /**
     * 其他消息
     */
    private String otherMess;
    public ClientMessBean() {
    }
    public ClientMessBean(long time, String name, String host, String mess, int messFlag, String otherMess) {
        super();
        this.time = time;
        this.name = name;
        this.host = host;
        this.mess = mess;
        this.messFlag = messFlag;
        this.otherMess = otherMess;
    }
    public String getHost() {
        return host;
    }

    public String getMess() {
        return mess;
    }

    public int getMessFlag() {
        return messFlag;
    }

    public String getName() {
        return name;
    }

    public String getOtherMess() {
        return otherMess;
    }

    public long getTime() {
        return time;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public void setMess(String mess) {
        this.mess = mess;
    }

    public void setMessFlag(int messFlag) {
        this.messFlag = messFlag;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setOtherMess(String otherMess) {
        this.otherMess = otherMess;
    }

    public void setTime(long time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "ClientMessBean [name=" + name + ", host=" + host + ", mess=" + mess + ", messFlag=" + messFlag
                + ", otherMess=" + otherMess + "]";
    }


}
